package com.liang.Event.Events;


import org.springframework.context.ApplicationEvent;

/**
 * 发布通知公告教育学习事件，用于处理redis存储事件发布的用户id。
 */
public class NoticePublishEvent extends ApplicationEvent {

    private Long Noticeid;

    private Long Userid;

    public NoticePublishEvent(Long userId,Long noticeid){
        super(userId);
        this.Noticeid =noticeid;
        this.Userid = userId;
    }

    public Long getNoticeid(){
        return  this.Noticeid;
    }

    public Long getUserId(){
        return  this.Userid;
    }
}
